package com.wyh.mapper.feemanagementmapper;

import com.wyh.domain.po.feemanagementpo.BuildingUnit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyh.domain.po.feemanagementpo.Layeres;
import com.wyh.domain.po.feemanagementpo.Projectes;
import com.wyh.domain.po.feemanagementpo.Resourcees;
import io.swagger.models.auth.In;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 资源表 Mapper 接口
 * </p>
 *
 * @author ggt
 * @since 2024-05-21
 */
public interface BuildingunitsMapper extends BaseMapper<BuildingUnit> {

    List<Integer> getBuildingUnitByAccount(String account);

    List<Layeres> getFloors(Integer buildingId);

    Projectes getProject(Long projectid);

    BuildingUnit getBuildingUnit(Integer buildingid);

    Layeres getLayers(Integer floorId);

    List<Resourcees> getResources(Integer buildingid);

    BuildingUnit getBuildingUnitByLayerId(Integer layerId);

    Integer getIdByParentid(Integer i);

    Integer getProjectId(Integer layerId);
}
